/*
 * @Author: your name
 * @Date: 2021-03-17 15:09:47
 * @LastEditTime: 2022-09-14 15:57:06
 * @LastEditors: 最后一次编辑说明
 * @Description: In User Settings Edit
 * @FilePath: \adminc:\Users\dell\Desktop\react (1)\新建文件夹\react\src\store\actions.js
 */
// action也是函数
export function setPageTitle(data) {
  // console.log(data)
  return ({ type: 'SET_PAGE_TITLE', data: data });
}

export function setInfoList(data=[]) {
   return ({ type: 'SET_INFO_LIST', data: data})
}
